// 基于template/src/views/{{appModules}}/{{pages@DEKANBANVIEW}}/{{spinalCase page.codeName}}-model.ts.hbs生成
import { IDataViewModel } from "@/core/interface/view/model";

//  获取视图模型
function getModel(): IDataViewModel {
    return {
        caption: "图书",
        title: "图书看板视图（代码表分组）",
        capPSLanguageRes: "MENUITEM.CAPTION.CODETABLEGROUP",
        titlePSLanguageRes: "PAGE.TITLE.IBIZBOOK.GROUPBYCODELISTKANBANVIEW",
        showDataInfoBar: false,
        codeName: 'IBIZBOOKGroupByCodelistKanBanView',
        uiEngineModel: [
                    {
                        name: 'toolbar_tbitem3_click',
                        triggerType: 'CTRLEVENT',
                        logicType: 'APPVIEWUIACTION',
                        eventNames: 'CLICK',
                        scriptCode: ``,
                        logicName:``,
                        logicTag: '',
                        eventArg: 'tbitem3',
                        eventArg2: '',
                        timer: 0,
                        psViewCtrlName: 'toolbar',
                        uIActionTag: 'New',
                        entityCodeName: '',
                    },
                    {
                        name: 'toolbar_deuiaction2_click',
                        triggerType: 'CTRLEVENT',
                        logicType: 'APPVIEWUIACTION',
                        eventNames: 'CLICK',
                        scriptCode: ``,
                        logicName:``,
                        logicTag: '',
                        eventArg: 'deuiaction2',
                        eventArg2: '',
                        timer: 0,
                        psViewCtrlName: 'toolbar',
                        uIActionTag: 'Save',
                        entityCodeName: '',
                    },
                    {
                        name: 'toolbar_tbitem4_click',
                        triggerType: 'CTRLEVENT',
                        logicType: 'APPVIEWUIACTION',
                        eventNames: 'CLICK',
                        scriptCode: ``,
                        logicName:``,
                        logicTag: '',
                        eventArg: 'tbitem4',
                        eventArg2: '',
                        timer: 0,
                        psViewCtrlName: 'toolbar',
                        uIActionTag: 'Edit',
                        entityCodeName: '',
                    },
                    {
                        name: 'toolbar_tbitem6_click',
                        triggerType: 'CTRLEVENT',
                        logicType: 'APPVIEWUIACTION',
                        eventNames: 'CLICK',
                        scriptCode: ``,
                        logicName:``,
                        logicTag: '',
                        eventArg: 'tbitem6',
                        eventArg2: '',
                        timer: 0,
                        psViewCtrlName: 'toolbar',
                        uIActionTag: 'Copy',
                        entityCodeName: '',
                    },
                    {
                        name: 'toolbar_deuiaction3_click',
                        triggerType: 'CTRLEVENT',
                        logicType: 'APPVIEWUIACTION',
                        eventNames: 'CLICK',
                        scriptCode: ``,
                        logicName:``,
                        logicTag: '',
                        eventArg: 'deuiaction3',
                        eventArg2: '',
                        timer: 0,
                        psViewCtrlName: 'toolbar',
                        uIActionTag: 'ToggleFilter',
                        entityCodeName: '',
                    },
                    {
                        name: 'toolbar_tbitem24_click',
                        triggerType: 'CTRLEVENT',
                        logicType: 'APPVIEWUIACTION',
                        eventNames: 'CLICK',
                        scriptCode: ``,
                        logicName:``,
                        logicTag: '',
                        eventArg: 'tbitem24',
                        eventArg2: '',
                        timer: 0,
                        psViewCtrlName: 'toolbar',
                        uIActionTag: 'ToggleRowEdit',
                        entityCodeName: '',
                    },
                    {
                        name: 'toolbar_tbitem25_click',
                        triggerType: 'CTRLEVENT',
                        logicType: 'APPVIEWUIACTION',
                        eventNames: 'CLICK',
                        scriptCode: ``,
                        logicName:``,
                        logicTag: '',
                        eventArg: 'tbitem25',
                        eventArg2: '',
                        timer: 0,
                        psViewCtrlName: 'toolbar',
                        uIActionTag: 'NewRow',
                        entityCodeName: '',
                    },
                    {
                        name: 'toolbar_tbitem8_click',
                        triggerType: 'CTRLEVENT',
                        logicType: 'APPVIEWUIACTION',
                        eventNames: 'CLICK',
                        scriptCode: ``,
                        logicName:``,
                        logicTag: '',
                        eventArg: 'tbitem8',
                        eventArg2: '',
                        timer: 0,
                        psViewCtrlName: 'toolbar',
                        uIActionTag: 'Remove',
                        entityCodeName: '',
                    },
                    {
                        name: 'toolbar_tbitem13_click',
                        triggerType: 'CTRLEVENT',
                        logicType: 'APPVIEWUIACTION',
                        eventNames: 'CLICK',
                        scriptCode: ``,
                        logicName:``,
                        logicTag: '',
                        eventArg: 'tbitem13',
                        eventArg2: '',
                        timer: 0,
                        psViewCtrlName: 'toolbar',
                        uIActionTag: 'ExportExcel',
                        entityCodeName: '',
                    },
                    {
                        name: 'toolbar_deuiaction1_click',
                        triggerType: 'CTRLEVENT',
                        logicType: 'APPVIEWUIACTION',
                        eventNames: 'CLICK',
                        scriptCode: ``,
                        logicName:``,
                        logicTag: '',
                        eventArg: 'deuiaction1',
                        eventArg2: '',
                        timer: 0,
                        psViewCtrlName: 'toolbar',
                        uIActionTag: 'ImportExcel',
                        entityCodeName: '',
                    },
                    {
                        name: 'toolbar_tbitem11_click',
                        triggerType: 'CTRLEVENT',
                        logicType: 'APPVIEWUIACTION',
                        eventNames: 'CLICK',
                        scriptCode: ``,
                        logicName:``,
                        logicTag: '',
                        eventArg: 'tbitem11',
                        eventArg2: '',
                        timer: 0,
                        psViewCtrlName: 'toolbar',
                        uIActionTag: 'Print',
                        entityCodeName: '',
                    },
                    {
                        name: 'toolbar_tbitem21_click',
                        triggerType: 'CTRLEVENT',
                        logicType: 'APPVIEWUIACTION',
                        eventNames: 'CLICK',
                        scriptCode: ``,
                        logicName:``,
                        logicTag: '',
                        eventArg: 'tbitem21',
                        eventArg2: '',
                        timer: 0,
                        psViewCtrlName: 'toolbar',
                        uIActionTag: 'ExportModel',
                        entityCodeName: '',
                    },
                    {
                        name: 'toolbar_tbitem23_click',
                        triggerType: 'CTRLEVENT',
                        logicType: 'APPVIEWUIACTION',
                        eventNames: 'CLICK',
                        scriptCode: ``,
                        logicName:``,
                        logicTag: '',
                        eventArg: 'tbitem23',
                        eventArg2: '',
                        timer: 0,
                        psViewCtrlName: 'toolbar',
                        uIActionTag: 'Import',
                        entityCodeName: '',
                    },
                    {
                        name: 'newdata',
                        triggerType: 'CUSTOM',
                        logicType: 'SYSUILOGIC',
                        eventNames: '',
                        scriptCode: ``,
                        logicName:``,
                        logicTag: '',
                        eventArg: '',
                        eventArg2: '',
                        timer: 0,
                        psViewCtrlName: '',
                        entityCodeName: '',
                    },
                    {
                        name: 'opendata',
                        triggerType: 'CUSTOM',
                        logicType: 'SYSUILOGIC',
                        eventNames: '',
                        scriptCode: ``,
                        logicName:``,
                        logicTag: '',
                        eventArg: '',
                        eventArg2: '',
                        timer: 0,
                        psViewCtrlName: '',
                        entityCodeName: '',
                    }
            ],
        ctrls: [
            {
                name: 'searchform',
                codeName: 'Default',
                controlType: 'SEARCHFORM',
            },
            {
                name: 'toolbar',
                codeName: 'GroupByCodelistKanBanViewtoolbar',
                controlType: 'TOOLBAR',
            },
            {
                name: 'kanban',
                codeName: 'GroupByCodelistKanBan',
                controlType: 'KANBAN',
            }
        ],
        ctrlParams: {
            IBIZBOOKsearchform: {},
            IBIZBOOKtoolbar: {},
            IBIZBOOKkanban: {},
        },
        cssName: "",
        name: "IBIZBOOKGroupByCodelistKanBanView",
        viewType: "DEKANBANVIEW",
        viewStyle: "DEFAULT",
        showCaption: true,
        isLoadDefault: true,
        entityCodeName: "IBIZBOOK",
        keyPSAppDEField: "IBIZBOOKId",
        majorPSAppDEField: "IBIZBOOKName",
        enableQuickSearch: true,
        expandSearchForm:false,
        newData: {
            deCodeName: 'IBIZBOOK',
            newDataViewName: 'IBIZBOOKEditView',
        },
        openData: {
            deCodeName: 'IBIZBOOK',
            openDataViewName: 'IBIZBOOKEditView',
        },
        toolbarItems: [
            {
          		actionLevel: '100',
          		caption: '新建',
          		captionLanResTag: 'TBB.TEXT.*.NEW',
          		name: 'tbitem3',
          		showCaption: true,
          		tooltip: '新建',
          		tooltipLanResTag: 'TBB.TOOLTIP.*.NEW',
          		itemType: 'DEUIACTION',
          		showIcon: true,
          		disabled: false,
          		cssName: 'deepskyblue-toolbar',
          		imagePath: '',
          		iconCls: 'fa fa-file-text-o',
                  imagePathX: '',
          		dataAccessAction: '',
          		noPrivDisplayMode: 2,
          		uiAction: {
          			codeName: 'New',
          			uIActionMode: 'SYS',
          			actionTarget: '',
          			uIActionTag: 'New',
          			uIActionType: 'DEUIACTION'
          		},
                  logic: {
                  	name: 'toolbar_tbitem3_click',
                  	actionTag: 'New',
                  	xDataCtrlName: 'kanban',
                  	predefinedType: 'EDITVIEW_NEWACTION',
                  }
            },
            {
          		actionLevel: '100',
          		caption: '保存',
          		captionLanResTag: 'TBB.TEXT.*.SAVE',
          		name: 'deuiaction2',
          		showCaption: true,
          		tooltip: '保存',
          		tooltipLanResTag: 'TBB.TOOLTIP.*.SAVE',
          		itemType: 'DEUIACTION',
          		showIcon: true,
          		disabled: false,
          		cssName: '',
          		imagePath: '',
          		iconCls: 'fa fa-save',
                  imagePathX: '',
          		dataAccessAction: '',
          		noPrivDisplayMode: 2,
          		uiAction: {
          			codeName: 'Save',
          			uIActionMode: 'SYS',
          			actionTarget: '',
          			uIActionTag: 'Save',
          			uIActionType: 'DEUIACTION'
          		},
                  logic: {
                  	name: 'toolbar_deuiaction2_click',
                  	actionTag: 'Save',
                  	xDataCtrlName: 'kanban',
                  	predefinedType: 'EDITVIEW_SAVEACTION',
                  }
            },
            {
          		actionLevel: '100',
          		caption: '编辑',
          		captionLanResTag: 'TBB.TEXT.*.EDIT',
          		name: 'tbitem4',
          		showCaption: true,
          		tooltip: '编辑',
          		tooltipLanResTag: 'TBB.TOOLTIP.*.EDIT',
          		itemType: 'DEUIACTION',
          		showIcon: false,
          		disabled: false,
          		cssName: '',
          		imagePath: '',
          		iconCls: 'fa fa-edit',
                  imagePathX: '',
          		dataAccessAction: '',
          		noPrivDisplayMode: 2,
          		uiAction: {
          			codeName: 'Edit',
          			uIActionMode: 'SYS',
          			actionTarget: 'SINGLEKEY',
          			uIActionTag: 'Edit',
          			uIActionType: 'DEUIACTION'
          		},
                  logic: {
                  	name: 'toolbar_tbitem4_click',
                  	actionTag: 'Edit',
                  	xDataCtrlName: 'kanban',
                  	predefinedType: 'GRIDVIEW_EDITACTION',
                  }
            },
            {
          		actionLevel: '100',
          		caption: '拷贝',
          		captionLanResTag: 'TBB.TEXT.*.COPY',
          		name: 'tbitem6',
          		showCaption: true,
          		tooltip: '拷贝',
          		tooltipLanResTag: 'TBB.TOOLTIP.*.COPY',
          		itemType: 'DEUIACTION',
          		showIcon: false,
          		disabled: false,
          		cssName: '',
          		imagePath: '',
          		iconCls: 'fa fa-copy',
                  imagePathX: '',
          		dataAccessAction: '',
          		noPrivDisplayMode: 2,
          		uiAction: {
          			codeName: 'Copy',
          			uIActionMode: 'SYS',
          			actionTarget: 'SINGLEKEY',
          			uIActionTag: 'Copy',
          			uIActionType: 'DEUIACTION'
          		},
                  logic: {
                  	name: 'toolbar_tbitem6_click',
                  	actionTag: 'Copy',
                  	xDataCtrlName: 'kanban',
                  	predefinedType: 'GRIDVIEW_COPYACTION',
                  }
            },
            {
          		actionLevel: '100',
          		caption: '过滤',
          		captionLanResTag: 'TBB.TEXT.*.FILTER',
          		name: 'deuiaction3',
          		showCaption: true,
          		tooltip: '过滤',
          		tooltipLanResTag: 'TBB.TOOLTIP.*.FILTER',
          		itemType: 'DEUIACTION',
          		showIcon: true,
          		disabled: false,
          		cssName: '',
          		imagePath: '',
          		iconCls: 'fa fa-filter',
                  imagePathX: '',
          		dataAccessAction: '',
          		noPrivDisplayMode: 2,
          		uiAction: {
          			codeName: 'ToggleFilter',
          			uIActionMode: 'SYS',
          			actionTarget: '',
          			uIActionTag: 'ToggleFilter',
          			uIActionType: 'DEUIACTION'
          		},
                  logic: {
                  	name: 'toolbar_deuiaction3_click',
                  	actionTag: 'ToggleFilter',
                  	xDataCtrlName: 'kanban',
                  	predefinedType: 'GRIDVIEW_SEARCHBAR',
                  }
            },
            {
          		name: 'tbitem7',
          		itemType: 'SEPERATOR',
            },
            {
          		actionLevel: '100',
          		caption: '删除',
          		captionLanResTag: 'TBB.TEXT.*.REMOVE',
          		name: 'tbitem8',
          		showCaption: true,
          		tooltip: '删除',
          		tooltipLanResTag: 'TBB.TOOLTIP.*.REMOVE',
          		itemType: 'DEUIACTION',
          		showIcon: false,
          		disabled: false,
          		cssName: '',
          		imagePath: '',
          		iconCls: 'fa fa-remove',
                  imagePathX: '',
          		dataAccessAction: '',
          		noPrivDisplayMode: 2,
          		uiAction: {
          			codeName: 'Remove',
          			uIActionMode: 'SYS',
          			actionTarget: 'MULTIKEY',
          			uIActionTag: 'Remove',
          			uIActionType: 'DEUIACTION'
          		},
                  logic: {
                  	name: 'toolbar_tbitem8_click',
                  	actionTag: 'Remove',
                  	xDataCtrlName: 'kanban',
                  	predefinedType: 'GRIDVIEW_REMOVEACTION',
                  }
            },
            {
          		name: 'tbitem9',
          		itemType: 'SEPERATOR',
            },
            {
          		actionLevel: '100',
          		caption: '导入',
          		captionLanResTag: '',
          		name: 'deuiaction1',
          		showCaption: true,
          		tooltip: '导入',
          		tooltipLanResTag: '',
          		itemType: 'DEUIACTION',
          		showIcon: true,
          		disabled: false,
          		cssName: '',
          		imagePath: '',
          		iconCls: 'fa fa-upload',
                  imagePathX: '',
          		dataAccessAction: '',
          		noPrivDisplayMode: 2,
          		uiAction: {
          			codeName: 'ImportExcel',
          			uIActionMode: 'FRONT',
          			actionTarget: 'NONE',
          			uIActionTag: 'ImportExcel',
          			uIActionType: 'DEUIACTION'
          		},
                  logic: {
                  	name: 'toolbar_deuiaction1_click',
                  	actionTag: 'ImportExcel',
                  	xDataCtrlName: 'kanban',
                  	predefinedType: '',
                  }
            },
            {
          		name: 'tbitem10',
          		itemType: 'SEPERATOR',
            },
            {
          		actionLevel: '',
          		caption: '其它',
          		captionLanResTag: '',
          		name: 'tbitem16',
          		showCaption: true,
          		tooltip: '其它',
          		tooltipLanResTag: '',
          		itemType: 'ITEMS',
          		showIcon: true,
          		disabled: false,
                  visible: true,
          		dataAccessAction: '',
          		items: [  {
          		actionLevel: '100',
          		caption: '导出数据模型',
          		captionLanResTag: 'MENUITEM.CAPTION.*.EXPORTSRF',
          		name: 'tbitem21',
          		showCaption: true,
          		tooltip: '导出数据模型',
          		tooltipLanResTag: '',
          		itemType: 'DEUIACTION',
          		showIcon: true,
          		disabled: false,
          		cssName: '',
          		imagePath: '',
          		iconCls: 'fa fa-download',
                  imagePathX: '',
          		dataAccessAction: '',
          		noPrivDisplayMode: 2,
          		uiAction: {
          			codeName: 'ExportModel',
          			uIActionMode: 'SYS',
          			actionTarget: '',
          			uIActionTag: 'ExportModel',
          			uIActionType: 'DEUIACTION'
          		},
                  logic: {
                  	name: 'toolbar_tbitem21_click',
                  	actionTag: 'ExportModel',
                  	xDataCtrlName: 'kanban',
                  	predefinedType: 'GRIDVIEW_EXPORTXMLACTION',
                  }
            },
          ]
            },
        ],
        toolbarLogics: [
            ]     ,
        xDataCtrlName: "kanban",
        quickSearchPlaceholder: ['图书名称',].join(","),
        useDefaultLayout: true,
        rowActiveMode: 2,        
    }
};

//  获取工具栏
function getToolbarItems() {
  return [
    {
  		actionLevel: '100',
  		caption: '新建',
  		captionLanResTag: 'TBB.TEXT.*.NEW',
  		name: 'tbitem3',
  		showCaption: true,
  		tooltip: '新建',
  		tooltipLanResTag: 'TBB.TOOLTIP.*.NEW',
  		itemType: 'DEUIACTION',
  		showIcon: true,
  		disabled: false,
  		cssName: 'deepskyblue-toolbar',
  		imagePath: '',
  		iconCls: 'fa fa-file-text-o',
          imagePathX: '',
  		dataAccessAction: '',
  		noPrivDisplayMode: 2,
  		uiAction: {
  			codeName: 'New',
  			uIActionMode: 'SYS',
  			actionTarget: '',
  			uIActionTag: 'New',
  			uIActionType: 'DEUIACTION'
  		},
          logic: {
          	name: 'toolbar_tbitem3_click',
          	actionTag: 'New',
          	xDataCtrlName: 'kanban',
          	predefinedType: 'EDITVIEW_NEWACTION',
          }
    },
    {
  		actionLevel: '100',
  		caption: '保存',
  		captionLanResTag: 'TBB.TEXT.*.SAVE',
  		name: 'deuiaction2',
  		showCaption: true,
  		tooltip: '保存',
  		tooltipLanResTag: 'TBB.TOOLTIP.*.SAVE',
  		itemType: 'DEUIACTION',
  		showIcon: true,
  		disabled: false,
  		cssName: '',
  		imagePath: '',
  		iconCls: 'fa fa-save',
          imagePathX: '',
  		dataAccessAction: '',
  		noPrivDisplayMode: 2,
  		uiAction: {
  			codeName: 'Save',
  			uIActionMode: 'SYS',
  			actionTarget: '',
  			uIActionTag: 'Save',
  			uIActionType: 'DEUIACTION'
  		},
          logic: {
          	name: 'toolbar_deuiaction2_click',
          	actionTag: 'Save',
          	xDataCtrlName: 'kanban',
          	predefinedType: 'EDITVIEW_SAVEACTION',
          }
    },
    {
  		actionLevel: '100',
  		caption: '编辑',
  		captionLanResTag: 'TBB.TEXT.*.EDIT',
  		name: 'tbitem4',
  		showCaption: true,
  		tooltip: '编辑',
  		tooltipLanResTag: 'TBB.TOOLTIP.*.EDIT',
  		itemType: 'DEUIACTION',
  		showIcon: false,
  		disabled: false,
  		cssName: '',
  		imagePath: '',
  		iconCls: 'fa fa-edit',
          imagePathX: '',
  		dataAccessAction: '',
  		noPrivDisplayMode: 2,
  		uiAction: {
  			codeName: 'Edit',
  			uIActionMode: 'SYS',
  			actionTarget: 'SINGLEKEY',
  			uIActionTag: 'Edit',
  			uIActionType: 'DEUIACTION'
  		},
          logic: {
          	name: 'toolbar_tbitem4_click',
          	actionTag: 'Edit',
          	xDataCtrlName: 'kanban',
          	predefinedType: 'GRIDVIEW_EDITACTION',
          }
    },
    {
  		actionLevel: '100',
  		caption: '拷贝',
  		captionLanResTag: 'TBB.TEXT.*.COPY',
  		name: 'tbitem6',
  		showCaption: true,
  		tooltip: '拷贝',
  		tooltipLanResTag: 'TBB.TOOLTIP.*.COPY',
  		itemType: 'DEUIACTION',
  		showIcon: false,
  		disabled: false,
  		cssName: '',
  		imagePath: '',
  		iconCls: 'fa fa-copy',
          imagePathX: '',
  		dataAccessAction: '',
  		noPrivDisplayMode: 2,
  		uiAction: {
  			codeName: 'Copy',
  			uIActionMode: 'SYS',
  			actionTarget: 'SINGLEKEY',
  			uIActionTag: 'Copy',
  			uIActionType: 'DEUIACTION'
  		},
          logic: {
          	name: 'toolbar_tbitem6_click',
          	actionTag: 'Copy',
          	xDataCtrlName: 'kanban',
          	predefinedType: 'GRIDVIEW_COPYACTION',
          }
    },
    {
  		actionLevel: '100',
  		caption: '过滤',
  		captionLanResTag: 'TBB.TEXT.*.FILTER',
  		name: 'deuiaction3',
  		showCaption: true,
  		tooltip: '过滤',
  		tooltipLanResTag: 'TBB.TOOLTIP.*.FILTER',
  		itemType: 'DEUIACTION',
  		showIcon: true,
  		disabled: false,
  		cssName: '',
  		imagePath: '',
  		iconCls: 'fa fa-filter',
          imagePathX: '',
  		dataAccessAction: '',
  		noPrivDisplayMode: 2,
  		uiAction: {
  			codeName: 'ToggleFilter',
  			uIActionMode: 'SYS',
  			actionTarget: '',
  			uIActionTag: 'ToggleFilter',
  			uIActionType: 'DEUIACTION'
  		},
          logic: {
          	name: 'toolbar_deuiaction3_click',
          	actionTag: 'ToggleFilter',
          	xDataCtrlName: 'kanban',
          	predefinedType: 'GRIDVIEW_SEARCHBAR',
          }
    },
    {
  		name: 'tbitem7',
  		itemType: 'SEPERATOR',
    },
    {
  		actionLevel: '100',
  		caption: '删除',
  		captionLanResTag: 'TBB.TEXT.*.REMOVE',
  		name: 'tbitem8',
  		showCaption: true,
  		tooltip: '删除',
  		tooltipLanResTag: 'TBB.TOOLTIP.*.REMOVE',
  		itemType: 'DEUIACTION',
  		showIcon: false,
  		disabled: false,
  		cssName: '',
  		imagePath: '',
  		iconCls: 'fa fa-remove',
          imagePathX: '',
  		dataAccessAction: '',
  		noPrivDisplayMode: 2,
  		uiAction: {
  			codeName: 'Remove',
  			uIActionMode: 'SYS',
  			actionTarget: 'MULTIKEY',
  			uIActionTag: 'Remove',
  			uIActionType: 'DEUIACTION'
  		},
          logic: {
          	name: 'toolbar_tbitem8_click',
          	actionTag: 'Remove',
          	xDataCtrlName: 'kanban',
          	predefinedType: 'GRIDVIEW_REMOVEACTION',
          }
    },
    {
  		name: 'tbitem9',
  		itemType: 'SEPERATOR',
    },
    {
  		actionLevel: '100',
  		caption: '导入',
  		captionLanResTag: '',
  		name: 'deuiaction1',
  		showCaption: true,
  		tooltip: '导入',
  		tooltipLanResTag: '',
  		itemType: 'DEUIACTION',
  		showIcon: true,
  		disabled: false,
  		cssName: '',
  		imagePath: '',
  		iconCls: 'fa fa-upload',
          imagePathX: '',
  		dataAccessAction: '',
  		noPrivDisplayMode: 2,
  		uiAction: {
  			codeName: 'ImportExcel',
  			uIActionMode: 'FRONT',
  			actionTarget: 'NONE',
  			uIActionTag: 'ImportExcel',
  			uIActionType: 'DEUIACTION'
  		},
          logic: {
          	name: 'toolbar_deuiaction1_click',
          	actionTag: 'ImportExcel',
          	xDataCtrlName: 'kanban',
          	predefinedType: '',
          }
    },
    {
  		name: 'tbitem10',
  		itemType: 'SEPERATOR',
    },
    {
  		actionLevel: '',
  		caption: '其它',
  		captionLanResTag: '',
  		name: 'tbitem16',
  		showCaption: true,
  		tooltip: '其它',
  		tooltipLanResTag: '',
  		itemType: 'ITEMS',
  		showIcon: true,
  		disabled: false,
          visible: true,
  		dataAccessAction: '',
  		items: [  {
  		actionLevel: '100',
  		caption: '导出数据模型',
  		captionLanResTag: 'MENUITEM.CAPTION.*.EXPORTSRF',
  		name: 'tbitem21',
  		showCaption: true,
  		tooltip: '导出数据模型',
  		tooltipLanResTag: '',
  		itemType: 'DEUIACTION',
  		showIcon: true,
  		disabled: false,
  		cssName: '',
  		imagePath: '',
  		iconCls: 'fa fa-download',
          imagePathX: '',
  		dataAccessAction: '',
  		noPrivDisplayMode: 2,
  		uiAction: {
  			codeName: 'ExportModel',
  			uIActionMode: 'SYS',
  			actionTarget: '',
  			uIActionTag: 'ExportModel',
  			uIActionType: 'DEUIACTION'
  		},
          logic: {
          	name: 'toolbar_tbitem21_click',
          	actionTag: 'ExportModel',
          	xDataCtrlName: 'kanban',
          	predefinedType: 'GRIDVIEW_EXPORTXMLACTION',
          }
    },
  ]
    },
  ]
}

export const model = getModel();
export const toolbarItems = getToolbarItems();